<?php /* Smarty version Smarty-3.0.5, created on 2015-11-21 12:36:20
         compiled from "D:\WWW\phpcms5\tpl/xiaomi/block_onlinechat.html" */ ?>
<?php /*%%SmartyHeaderCode:3569564ff4c42a0d10-94550390%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '486fba1926cba6f81df024f728e209bb1e023876' => 
    array (
      0 => 'D:\\WWW\\phpcms5\\tpl/xiaomi/block_onlinechat.html',
      1 => 1397982678,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '3569564ff4c42a0d10-94550390',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>

<?php if ($_smarty_tpl->getVariable('config')->value['qqstatus']==1&&$_smarty_tpl->getVariable('volist_onlinechat')->value){?>
  <script type='text/javascript' src='<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
js/online.js'></script>
  <div id='floatDivr' style='position: absolute;' class='floatonline_1'>
    <div class='scroll_title_1'><span>在线客服</span><a href='#' title='关闭' onmousedown='Mouseclose()'>&nbsp;</a></div>
    <div class='online_right_1'>
      <div class='online_left_1'>
	    <?php  $_smarty_tpl->tpl_vars['volist'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('volist_onlinechat')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['volist']->key => $_smarty_tpl->tpl_vars['volist']->value){
?>
        <div class='scroll_qq_1'>
		  <?php if ($_smarty_tpl->tpl_vars['volist']->value['ontype']==1){?>
		  <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $_smarty_tpl->tpl_vars['volist']->value['number'];?>
&site=<?php echo $_smarty_tpl->getVariable('value')->value['sitetitle'];?>
&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:<?php echo $_smarty_tpl->tpl_vars['volist']->value['number'];?>
:41" alt="<?php echo $_smarty_tpl->getVariable('value')->value['title'];?>
" title="<?php echo $_smarty_tpl->getVariable('value')->value['title'];?>
"></a>
		  <?php }elseif($_smarty_tpl->tpl_vars['volist']->value['ontype']==2){?>
		  <a target='_blank' href='http://amos.im.alisoft.com/msg.aw?v=1&uid=<?php echo $_smarty_tpl->tpl_vars['volist']->value['number'];?>
&site=<?php echo $_smarty_tpl->tpl_vars['volist']->value['sitetitle'];?>
&s=2&charset=utf-8' ><img border='0' src='http://amos.im.alisoft.com/online.aw?v=2&uid=<?php echo $_smarty_tpl->tpl_vars['volist']->value['number'];?>
&site=<?php echo $_smarty_tpl->tpl_vars['volist']->value['sitetitle'];?>
&s=1&charset=utf-8' alt='{$volist.title}' /></a>
		  <?php }elseif($_smarty_tpl->tpl_vars['volist']->value['ontype']==3){?>
		  <a href='msnim:chat?contact=<?php echo $_smarty_tpl->tpl_vars['volist']->value['number'];?>
'><img border='0'  alt='<?php echo $_smarty_tpl->tpl_vars['volist']->value['title'];?>
' src='<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
images/qq/msn2.gif'/></a>
		  <?php }else{ ?>

		  <?php }?>
		  
	    </div>
		<?php }} ?>

	  </div>
    </div><!-- #online_right_1 //-->
	<div class='scroll_foot1_1'></div>
	<div class='scroll_foot2_1'><?php echo $_smarty_tpl->getVariable('delimit_onlinechat')->value;?>
</div>
	<div class='scroll_foot3_1'></div>
  </div><!-- #floatDivr //-->
    
	<script language=JavaScript type="text/javascript">
		function Mouseclose(){document.getElementById('floatDivr').style.display='none';}
		window.onload = function(){
		var Sys = {}; 
		var ua = navigator.userAgent.toLowerCase(); 
		var s; 
		(s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] : 
		(s = ua.match(/firefox\/([\d.]+)/)) ? Sys.firefox = s[1] : 
		(s = ua.match(/chrome\/([\d.]+)/)) ? Sys.chrome = s[1] : 
		(s = ua.match(/opera.([\d.]+)/)) ? Sys.opera = s[1] : 
		(s = ua.match(/version\/([\d.]+).*safari/)) ? Sys.safari = s[1] : 0; 
		if (Sys.ie){
		var isIE8=!!document.documentMode;
		if(isIE8){
		var metfloaty=document.documentElement.clientHeight-28;
		}else{
		var metfloaty=document.documentElement.clientHeight-10;
		}
		}else{
		var metfloaty=document.documentElement.clientHeight-28;
		}
		//var floatObj = document.getElementById('floatfoot');
		var floatObjr = document.getElementById('floatDivr');	
		//Floaters.addItem(floatObj,4,metfloaty);
		Floaters.addItem(floatObjr,screen.width-180,118);
		Floaters.sPlay();



	}
	</script>
<?php }?>
<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tplpath')->value)."block_adimages.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>